package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/6.
 */

public class FamilyDeviceListJsonBean {


    /**
     * status : true
     * message : 查询成功
     * data : [{"familyId":24,"valid":1,"deviceType":null,"modifyTime":1517969511000,"createTime":1517969511000,"deviceMac":null,"id":2,"deviceNo":null,"deviceId":66,"deviceInfo":null},{"familyId":24,"valid":1,"deviceType":null,"modifyTime":1517969546000,"createTime":1517969546000,"deviceMac":null,"id":3,"deviceNo":null,"deviceId":67,"deviceInfo":null},{"familyId":24,"valid":1,"deviceType":null,"modifyTime":1518075876000,"createTime":1518075876000,"deviceMac":null,"id":6,"deviceNo":null,"deviceId":70,"deviceInfo":null},{"familyId":24,"valid":1,"deviceType":2,"modifyTime":1518234633000,"createTime":1518234633000,"deviceMac":null,"id":10,"deviceNo":"1686488484","deviceId":77,"deviceInfo":"自古"},{"familyId":24,"valid":1,"deviceType":2,"modifyTime":1518426016000,"createTime":1518426016000,"deviceMac":null,"id":11,"deviceNo":"10102120121001","deviceId":80,"deviceInfo":"1341"},{"familyId":24,"valid":1,"deviceType":2,"modifyTime":1518426027000,"createTime":1518426027000,"deviceMac":null,"id":12,"deviceNo":"101021201224121","deviceId":81,"deviceInfo":"1341"},{"familyId":24,"valid":1,"deviceType":2,"modifyTime":1518426029000,"createTime":1518426029000,"deviceMac":null,"id":13,"deviceNo":"1010212012535","deviceId":82,"deviceInfo":"1341"},{"familyId":24,"valid":1,"deviceType":2,"modifyTime":1518426031000,"createTime":1518426031000,"deviceMac":null,"id":14,"deviceNo":"10102120121234412","deviceId":83,"deviceInfo":"1341"},{"familyId":24,"valid":1,"deviceType":2,"modifyTime":1518426073000,"createTime":1518426073000,"deviceMac":null,"id":15,"deviceNo":"101021201212515","deviceId":84,"deviceInfo":"1341"},{"familyId":24,"valid":1,"deviceType":2,"modifyTime":1518426121000,"createTime":1518426121000,"deviceMac":null,"id":16,"deviceNo":"101021201523523","deviceId":85,"deviceInfo":"1341"}]
     */

    private boolean status;
    private String message;
    private List<AllDeviceDataBean> data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<AllDeviceDataBean> getData() {
        return data;
    }

    public void setData(List<AllDeviceDataBean> data) {
        this.data = data;
    }

    public static class AllDeviceDataBean {
        /**
         * familyId : 24
         * valid : 1
         * deviceType : null
         * modifyTime : 1517969511000
         * createTime : 1517969511000
         * deviceMac : null
         * id : 2
         * deviceNo : null
         * deviceId : 66
         * deviceInfo : null
         */

        private int familyId;
        private int valid;
        private int deviceType;
        private long modifyTime;
        private long createTime;
        private String deviceMac;
        private int id;
        private String deviceNo;
        private int deviceId;
        private String deviceInfo;

        public int getFamilyId() {
            return familyId;
        }

        public void setFamilyId(int familyId) {
            this.familyId = familyId;
        }

        public int getValid() {
            return valid;
        }

        public void setValid(int valid) {
            this.valid = valid;
        }

        public int getDeviceType() {
            return deviceType;
        }

        public void setDeviceType(int deviceType) {
            this.deviceType = deviceType;
        }

        public long getModifyTime() {
            return modifyTime;
        }

        public void setModifyTime(long modifyTime) {
            this.modifyTime = modifyTime;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getDeviceMac() {
            return deviceMac;
        }

        public void setDeviceMac(String deviceMac) {
            this.deviceMac = deviceMac;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getDeviceNo() {
            return deviceNo;
        }

        public void setDeviceNo(String deviceNo) {
            this.deviceNo = deviceNo;
        }

        public int getDeviceId() {
            return deviceId;
        }

        public void setDeviceId(int deviceId) {
            this.deviceId = deviceId;
        }

        public String getDeviceInfo() {
            return deviceInfo;
        }

        public void setDeviceInfo(String deviceInfo) {
            this.deviceInfo = deviceInfo;
        }
    }
}
